package com.campus.service;

import com.campus.pojo.dto.AccountDto;
import com.campus.pojo.dto.ChangePasswordDto;
import com.campus.pojo.dto.RegisterDto;

import java.util.Map;

public interface AccountService {
    Map<String,String> login(AccountDto account);

    void logout();
    void register(RegisterDto registerDto);
    void changePassword(ChangePasswordDto changePasswordDto);
    void isRightRole(Integer id ,String role);
}
